home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 3.adf / asm / devices / prtbase.i < prev    next >
Text File  |  1986-11-10  |  3KB  |  120 lines

  1.  
  2.    IFND  DEVICES_PRTBASE_I
  3. DEVICES_PRTBASE_I EQU   1
  4.    IFND  EXEC_NODES_I
  5.    INCLUDE  "exec/nodes.i"
  6.    ENDC
  7.    IFND  EXEC_LISTS_I
  8.    INCLUDE  "exec/lists.i"
  9.    ENDC
  10.    IFND  EXEC_PORTS_I
  11.    INCLUDE  "exec/ports.i"
  12.    ENDC
  13.    IFND  EXEC_LIBRARIES_I
  14.    INCLUDE  "exec/libraries.i"
  15.    ENDC
  16.    IFND  EXEC_TASKS_I
  17.    INCLUDE  "exec/tasks.i"
  18.    ENDC
  19.    IFND  DEVICES_PARALLEL_I
  20.    INCLUDE  "devices/parallel.i"
  21.    ENDC
  22.    IFND  DEVICES_SERIAL_I
  23.    INCLUDE  "devices/serial.i"
  24.    ENDC
  25.    IFND  DEVICES_TIMER_I
  26.    INCLUDE  "devices/timer.i"
  27.    ENDC
  28.    IFND  LIBRARIES_DOSEXTENS_I
  29.    INCLUDE  "libraries/dosextens.i"
  30.    ENDC
  31.    IFND  INTUITION_INTUITION_I
  32.    INCLUDE  "intuition/intuition.i"
  33.    ENDC
  34.  STRUCTURE  DeviceData,LIB_SIZE
  35.     APTR dd_Segment
  36.     APTR dd_ExecBase
  37.     APTR dd_CmdVectors
  38.     APTR dd_CmdBytes
  39.     UWORD   dd_NumCommands
  40.     LABEL   dd_SIZEOF
  41. du_Flags EQU   LN_PRI
  42.     BITDEF  IO,QUEUED,4
  43.     BITDEF  IO,CURRENT,5
  44.     BITDEF  IO,SERVICING,6
  45.     BITDEF  IO,DONE,7
  46.     BITDEF  DU,STOPPED,0
  47. P_PRIORITY  EQU         0
  48. P_STKSIZE   EQU         $800
  49.    BITDEF   P,IOR0,0
  50.    BITDEF   P,IOR1,1
  51.    BITDEF   P,EXPUNGED,7
  52.  STRUCTURE  PrinterData,dd_SIZEOF
  53.     STRUCT  pd_Unit,MP_SIZE
  54.     BPTR pd_PrinterSegment
  55.     UWORD   pd_PrinterType
  56.     APTR pd_SegmentData
  57.     APTR pd_PrintBuf
  58.     APTR pd_PWrite
  59.     APTR pd_PBothReady
  60.     IFGT IOEXTPar_SIZE-IOEXTSER_SIZE
  61.     STRUCT  pd_IOR0,IOEXTPar_SIZE
  62.     STRUCT  pd_IOR1,IOEXTPar_SIZE
  63.     ENDC
  64.     IFLE IOEXTPar_SIZE-IOEXTSER_SIZE
  65.     STRUCT  pd_IOR0,IOEXTSER_SIZE
  66.     STRUCT  pd_IOR1,IOEXTSER_SIZE
  67.     ENDC
  68.     STRUCT  pd_TIOR,IOTV_SIZE
  69.     STRUCT  pd_IORPort,MP_SIZE
  70.     STRUCT  pd_TC,TC_SIZE
  71.     STRUCT  pd_Stk,P_STKSIZE
  72.     UBYTE   pd_Flags
  73.     UBYTE   pd_pad
  74.     STRUCT  pd_Preferences,pf_SIZEOF
  75.     UBYTE      pd_PWaitEnabled
  76.     LABEL   pd_SIZEOF
  77.     BITDEF  PPC,GFX,0
  78.     BITDEF  PPC,COLOR,1
  79. PPC_BWALPHA    EQU   0
  80. PPC_BWGFX      EQU   1
  81. PPC_COLORGFX   EQU   3
  82. PCC_BW          EQU     1
  83. PCC_YMC         EQU     2
  84. PCC_YMC_BW      EQU     3
  85. PCC_YMCB        EQU     4
  86. PCC_4COLOR      EQU     $4
  87. PCC_ADDITIVE    EQU     $8
  88. PCC_WB          EQU     $9
  89. PCC_BGR         EQU     $a
  90. PCC_BGR_WB      EQU     $b
  91. PCC_BGRW        EQU     $c
  92.  STRUCTURE  PrinterExtendedData,0
  93.     APTR    ped_PrinterName
  94.     APTR    ped_Init
  95.     APTR    ped_Expunge
  96.     APTR    ped_Open
  97.     APTR    ped_Close
  98.     UBYTE   ped_PrinterClass
  99.     UBYTE   ped_ColorClass
  100.     UBYTE   ped_MaxColumns
  101.     UBYTE   ped_NumCharSets
  102.     UWORD   ped_NumRows
  103.     ULONG   ped_MaxXDots
  104.     ULONG   ped_MaxYDots
  105.     UWORD   ped_XDotsInch
  106.     UWORD   ped_YDotsInch
  107.     APTR    ped_Commands
  108.     APTR    ped_DoSpecial
  109.     APTR    ped_Render
  110.     LONG    ped_TimeoutSecs
  111.     APTR    ped_8BitChars
  112.     LABEL   ped_SIZEOF
  113.  STRUCTURE  PrinterSegment,0
  114.     ULONG   ps_NextSegment
  115.     ULONG   ps_runAlert
  116.     UWORD   ps_Version
  117.     UWORD   ps_Revision
  118.     LABEL   ps_PED
  119.    ENDC
  120.